import time

from jiu1.Page import Page
import unittest
from selenium import webdriver

class TestCase(unittest.TestCase):
    # 固定结构
    def setUp(self):
        self.driver=webdriver.Edge()
        self.driver.get("https://www.jiuxian.com/")
        self.driver.maximize_window()
    def tearDown(self):
        time.sleep(10)
        self.driver.quit()
        # 测试用例
    def test_login(self):
        po=Page(self.driver)
        po.text_01_jiuxian()



if __name__ == '__main__':
    unittest.main()